package com.yiyang.service;

import com.yiyang.pojo.Result;
import com.yiyang.pojo.Room;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author ROG
* @description 针对表【room】的数据库操作Service
* @createDate 2024-07-09 08:25:03
*/
public interface RoomService extends IService<Room> {
    Result<List<Room>> getRoomList(Integer currentPage,Integer pageSize,String  name,String floor);

    Result<Void>  addRoom(Room room);

    Result<Void>  updateRoom(Room room);

    Result<Void>  deleteRoom(Integer id);

}
